package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Tran;

import java.util.List;
import java.util.Map;

/**
 * 郭俊才
 * 2021/8/27
 */
public interface TranService {
    //增加
    int saveSelective(Map<String,Object> map);
    //删除
    int removeByPrimaryKey(String id);
    //修改
    int editByPrimaryKeySelective(Tran record);
    //根据主键查询
    Tran queryByPrimaryKey(String id);
    //有条件查询全部
    List<Tran> queryAllByCondition(Tran tran);
    //根据主键查询详情
    Tran queryByPrimaryKeyForDetails(String id);

}
